<%@ page import="org.ibiblio.terasaur.bt.Seedbank" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="thin_sidebar" />
        <g:set var="entityName" value="Seedbank" />
        <content tag="title">${pageTitle}</content>
    </head>
    <body class="full">
        <h2>${listLabel} (${seedbankTotal} total)</h2>
        <div class="list">
            <ul class="item-list bullets">
<g:each in="${seedbankList}" status="i" var="sbInstance">
                <li>
                    <strong><g:link controller="seedbank" action="show" id="${sbInstance.id}">${sbInstance.name} (${sbInstance.ipAddress})</g:link></strong>
                </li>
</g:each>
            </ul>
        </div>
        <div class="pagination">
            <g:paginate id="${params.id}" total="${seedbankTotal}" prev="&laquo; Previous" next="Next &raquo;"/>
        </div>
        <div class="rule"><hr /></div>
        <div class="clear"></div>
        <div class="nav">
            <span class="menuButton"><g:link action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
    </body>
</html>
